package com.gxa.user.recycling.repository;

import com.gxa.core.recycling.pojo.Goods;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface GoodsRepository extends MongoRepository<Goods,String> {
    Goods findGoodsByIdEquals(Long id);
    List<Goods> findGoodsByHotAndState(Boolean hot,Boolean state);

}
